/**
 * File: BulkVelvetController.java
 * Created by: mhaimel
 * Created on: 23 Jul 2009
 * CVS:  $Id: BulkVelvetController.java,v 1.1 2009/08/05 15:16:13 mhaimel Exp $
 */
package uk.ac.ebi.curtain.controller.velvet;

import uk.ac.ebi.curtain.controller.ParallelQueuedController;
import uk.ac.ebi.curtain.controller.SimpleReport;
import uk.ac.ebi.curtain.management.IControllerReport;
import uk.ac.ebi.curtain.processor.velvet.impl.BulkVelvetRerunProcessor;

/**
 * Rerun Velvet on Buckets with e.g. different filter parameters
 * 
 * @author mhaimel
 *
 */
public class BulkVelvetRerunController extends ParallelQueuedController<VelvetInputBean, VelvetOutputBean, BulkVelvetRerunProcessor> {

	
	public BulkVelvetRerunController() {
		super();
	}

	@Override
	protected IControllerReport getReturnCall() {
		return new SimpleReport("Finished");
	}

	@Override
	protected BulkVelvetRerunProcessor buildController() {
		BulkVelvetRerunProcessor job = getContext().getInjector().getInstance(BulkVelvetRerunProcessor.class);
		return job;
	}
}
